#!/usr/bin/env bash

echo -e "\033[1;31m Issue(s) found in package.json. Ensure the following conditions are met and try again.\n \033[0m"

echo -e "\033[1;31m * Set the appropriate access in publishConfig:\033[0m"
echo -e "\n\033[1;31m\t\"publishConfig\": {\n\t   \"access\": \"<public|restricted>\" \n\t}\033[0m"
echo -e "\n\033[1;31m * If the package is private, its name must be scoped (@organization-scope/package)\033[0m"
exit 1
